package appBCN.version;

import android.app.Application;
import appBCN.MOs.Person;

public class AppBCNApplication extends Application {
	private Person person;

	/**
	 * @return the person
	 */
	public Person getPerson() {
		if(person == null)
			person = new Person();
		return person;
	}

	/**
	 * @param person the person to set
	 */
	public void setPerson(Person person) {
		this.person = person;
	}
	
	private static AppBCNApplication instance;

    static {
        instance = new AppBCNApplication();
    }

    private AppBCNApplication() {
    }

    public static AppBCNApplication getInstance() {
        return AppBCNApplication.instance;
    }
	
}
